package com.snail.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.snail.common.DeleteRequest;
import com.snail.model.dto.CourseBaseDto;
import com.snail.model.dto.CourseOutlinesTreeDto;
import com.snail.model.pojo.BizCourseOutlines;
import com.snail.response.BaseResponse;

import java.util.List;


/**
* @author Monica
* @description 针对表【biz_course_outlines(课程大纲结构表，支持章-节两级结构)】的数据库操作Service
* @createDate 2025-07-17 13:16:38
*/
public interface BizCourseOutlinesService extends IService<BizCourseOutlines> {

    BaseResponse<List<CourseOutlinesTreeDto>> getCourseOutlines(Integer courseId);

    BaseResponse<Boolean> saveCourseOutlines(BizCourseOutlines bizCourseOutlines);

    BaseResponse<Boolean> updateCourseOutlines(BizCourseOutlines bizCourseOutlines);

    BaseResponse<Boolean> deleteCourseOutlines(DeleteRequest deleteRequest);

    BaseResponse<CourseBaseDto> getCourseBaseById(Long id);
}
